# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mozo
pkgver=1.26.0
pkgrel=1
pkgdesc="A menu editor for MATE"
url="https://github.com/mate-desktop/mozo"
arch="noarch"
license="LGPL-2.1-or-later"
makedepends="intltool mate-menus-dev glib-dev py3-gobject3-dev python3"
depends="py3-gobject3 mate-menus"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mozo-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
fbaa544ed8ad4ecab7d154a4a1d86d7b72b0e31635b0a01457bd04cda9d0d638ee3cd6204e8aba65da9932f2542e0846c90cf1013c1b9f7fe5d8e9f604b14f17  mozo-1.26.0.tar.xz
"
